<template>
  <div class="mine-container">
    <el-header>
      <el-page-header @back="goBack" content="个人中心"> </el-page-header>
    </el-header>
    <div class="mine-box">
      <div class="box-left">
        <AboutMe></AboutMe>
      </div>
      <div class="box-right">
        <MeMessage></MeMessage>
      </div>
    </div>
  </div>
</template>

<script>
import AboutMe from '@/views/pageIn/mine/components/AboutMe'
import MeMessage from '@/views/pageIn/mine/components/MeMessage'
export default {
  name: '',
  components: {
    AboutMe,
    MeMessage
  },
  props: {},
  data () {
    return {}
  },
  methods: {
    // 返回首页
    goBack () {
      this.$router.push('/page/card')
    }
  }
}
</script>

<style lang="less" scoped>
.mine-container {
  height: 90%;
  display: flex;
  flex-direction: column;
  .el-header {
    margin-top: 20px;
    width: 100%;
    -moz-box-shadow: 2px 2px 10px #909090;/*firefox*/
    -webkit-box-shadow: 2px 2px 10px #909090;/*safari或chrome*/
    box-shadow:2px 2px 10px #909090;/*opera或ie9*/
    background-color: #fafafa;
    .el-page-header {
      line-height: 60px;
    }
    background-color: #fff;
  }
  .el-header:hover{
     box-shadow: inset -6px -6px 10px rgba(255, 255, 255, 0.5),
               inset 6px 6px 20px rgba(0, 0, 0, 0.05);
    transform: scale(0.98);
    cursor: pointer;
}
  .mine-box {
    display: flex;
    height: 100%;
    .box-left {
      flex: 1;
    }
    .box-right {
      flex: 3;
      height: 94%;
    }
  }
}
</style>
